from google.appengine.ext.db import djangoforms as forms
from com.jumang.model.comment import notecomment
from com.jumang.model.comment import filecomment,pictureComment
from com.jumang.model.message import message

class NoteCommentForm(forms.ModelForm):
    class Meta:
        model = notecomment
        exclude = ['note','createTime']
        
class FileCommentForm(forms.ModelForm):
    class Meta:
        model = filecomment
        exclude = ['mfile','createTime']
class PictureCommentForm(forms.ModelForm):
    class Meta:
        model = pictureComment
        exclude = ['picture','createTime']


class MessageForm(forms.ModelForm):
    class Meta:
        model = message
        exclude = ['note','createTime']